#pragma once

#ifndef ROTATING_OBJECT
#define ROTATING_OBJECT_H

#include "PhysicalObject.h"

#define CLCKWISE 0
#define ANTI_CLCKWISE 1

class RotatingObject : public PhysicalObject
{
private:
	float angular_velocity;
	float direction_of_spin;
	float alignment;
	float impact_distance;
	float drag;
	bool hit;

	Vector3f u_point;
	Vector3f l_point;

	float x_comp;
	float y_comp;

public:
	RotatingObject(float imass, Vector3f iposition, Vector3f iupper, Vector3f ilower);
	~RotatingObject(void);

	void rotate();
	void update();
};
#endif